A RESM layer for Socket.io