Summary: This change adds a function to base64 encode. It is used to encode the CSR which gets added to the connection url. Reviewed By: passy Differential Revision: D31570706 fbshipit-source-id: 8356550fe87ae3ac6aae8616744a9339cf69b511