Added losin adapter for socket.io