Make connect return a continuable for the socket.