Extract socket methods
Remove socket.io log