transfer_socket: Don't perform checks if to==from
transfer_socket: Don't perform checks if to==from

We should return when we detect the connections are idential, as the
assertions are only for actual transfers

Change-Id: Ia9ba0cc40df3c7bc494ff445c3a0c2daaaf946c3
Reviewed-on: http://review.couchbase.org/33111
Reviewed-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>

avsej/libcouchbase,mody/libcouchbase,senthilkumaranb/libcouchbase,mody/libcouchbase,signmotion/libcouchbase,senthilkumaranb/libcouchbase,senthilkumaranb/libcouchbase,mody/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,PureSwift/libcouchbase,mnunberg/libcouchbase,uvenum/libcouchbase,signmotion/libcouchbase,PureSwift/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,maxim-ky/libcouchbase,maxim-ky/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,mody/libcouchbase,signmotion/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,kojiromike/libcouchbase,signmotion/libcouchbase,uvenum/libcouchbase,mnunberg/libcouchbase,mnunberg/libcouchbase,maxim-ky/libcouchbase,maxim-ky/libcouchbase,senthilkumaranb/libcouchbase,uvenum/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase