factored the sending and receiving of network messages for coherence
improved PlayerInput message