Complete Socket.io client integration.