Received packets are now decoded using encoding.c as well. The decode functions also take an input length now, in case the strings aren't null terminated.
Added general encode/decode functions to make it easier to switch encoding type
Renamed 'encoding' library to 'encode'
The encoding library no longer pads the base32-encoded string with '=' signs, it's no longer padded (since I don't want or need padding when sending it over the network)
Remove debug code that would prevent compile
Changed some constants to be less confusing