def id
      parts = socket.object_id.to_s.split("")
      parts = parts.each_slice(parts.length / 2).to_a

      [parts.first.join(""), parts.last.join("")].join(".")
    end
def id
      parts = socket.object_id.to_s.split("")
      parts = parts.each_slice(parts.length / 2).to_a

      [parts.first.join(""), parts.last.join("")].join(".")
    end
Create a new {Connection} object.

 @param [EventMachine::WebSocket::Connection] socket Connection object.
 The ID of the connection.

 @return [Integer] The object ID of the socket.