Various simplifications/Cleanups

- Use Codecs for base64
- Remove dependency on `openssl` (use GnuTLS instead)
- Remove debug messages
Fix typo
Update REQUIRE
fixed merge conflict