Packet send bug

The encoding function in PacketProcessor had a bug where small packets
(ie, only one extra byte, like for Face) were not being encoded
properly, resulting in invalid data server-side. Also ran through
ReSharper suggestions for the file.