changed websocket to wss for security
clean up code, added syncronisation for critical reads, added equals and toString for Player