set it. (peek_socket): Check ready/write/except specifically since they could have been set even prior to peek_socket call.