Reliability layer for socket.io