integrate with socket.io@1.0