More fixups and sending some int8 (byte in Java) correctly instead of int32
Fix similar issues int -> byte in SMSG_NAME_CACHE
Merge pull request #3 from wazy/master

More fixups for 5.3.0 authentication