Split out some of the client into a separate file.
Workaround the mismatch between the client sending a playerid and the
server using UUID. Eventually we'll have to send a UUID.