Remove redundant string copies in RPCUtil.cpp.
Replace DecodeBase64() in RPCUtil.cpp.