Deal with bad sockets in deliver_socket.
Deal with bad sockets in deliver_socket.

If anything happens with the socket, we still need to wake up the
waiter. So we just reply with no_socket.

Change-Id: If7a250f5e0baf5a5368e7354c01756f12e9df21d
Reviewed-on: http://review.couchbase.org/46988
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>

nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,mschoch/ns_server,membase/ns_server,mschoch/ns_server,mschoch/ns_server,mschoch/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,mschoch/ns_server,nimishzynga/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,membase/ns_server,nimishzynga/ns_server