Fixed stuff

Fixed the small thing that was causing it to continously re-connect on firewall pc's and also moved socket.on to socket.once