base64encode/decode strings passed into ipc methods