1.8.7 doesn't have strict_encode64, so you'll have to use something else.