Some HTTP sugar

Allow for adding arbitrary HTTP heades and select what scheme (http/https) to use.
Also fix sending basic auth credentials for user/pass are None.