Call connection_error instead of close && switch

Makes things easier to follow. Added a 'NO_BREAKOUT' option which we
might want to handle later on

Change-Id: I6fcc99f55f9881fa626e85fe92249177a3de77e4
Reviewed-on: http://review.couchbase.org/29742
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>