Do not consume the cookie for incomplete packet
Do not consume the cookie for incomplete packet

Change-Id: I6de38a7a757c637a97a458d45df52bdf10c1c76a
Reviewed-on: http://review.couchbase.org/16350
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Tested-by: Mordechai Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
Reviewed-by: Mordechai Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
Reviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>

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