Update the Mime base64 encoding and decoding functions
to support being passed a cdata buffer parameter and
length in addition to supporting a string parameter.
Passing the length as a second parameter is optional
when the type of data is a lua string.
Merge branch 'master' of https://github.com/jsolman/turbo