Use better base64 handling in ServerHandlerImp.

Tiny commit extracted from RPC changes.

Reviewers: @vinniefalco @HowardHinnant