Server as object, server side player

Improved Socket.io definition