TODOs changed
remove line breaks from Basic Auth base64 string; pass debug flag on to httplib