strict_encode64 is unavailable on Ruby 1.8.7: http://ruby-doc.org/stdlib-1.8.7/libdoc/base64/rdoc/Base64.html