added Base64 support. The google files will need to be integrated into the package proper.
URL escape the /+= characters
Clean up the casting