Base64 encoding interceptor, as outlined in Issue #756