Treat socket_id as a string to match Pusher.

Also use Connection#id over Socket#object_id where possible.