Added function prototypes for a msg parser, also added a base64 encoder/decoder