use updated socket API, instead of socket.io specific handshake