Use better base64 handleing in ServerHandlerImp.