Copy/paste sample: Base64-encode signalling messages.

This change resolves https://github.com/uProxy/uproxy/issues/562.
is it safe to use '\n' as a splitter? Are we confident that message would never have otherwise?