CCBC-258: Set inside_handler on socket_connected

Previously we were always using SASL auth, and as such, we wouldn't
flush packets from the cmd_log using server_send_packets (which calls
apply_want). Apply_want shouldn't be called more than once per event
loop entry - so this sets and unsets the 'inside_handler' flag.

Change-Id: I137dcb8c18eafbee63b8a4f3861238d4f54c3bfe
Reviewed-on: http://review.couchbase.org/28612
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>