added: encode/decode base64 contour messages