Don't crash the client

Add support for player orientation, ground status, and chat. Add
KeepAlive thread to send Packet0KeepAlive regularly to measure ping