Socket.io component for ThunkJS