Is there a way to base64 encode things in Squirrel?
Check out this library, includes base64 decode/encode functions:
http://singbot.googlecode.com/svn-history/r2/trunk/trunk/Debug/resources/users/crypto.nut
If you pass a blob through an output port it will be base64 encoded when it is delivered to your server - no work on your side required.