Remove one level of indirection for some variables
The entity ID is now transmitted with each packet sent by the server
The ID is sent during authentication in a secure way and put in each
packet that the server will sign and send.
This allows to ensure that the packet is not replayed from another
connection.
create namespace network and rename some functions