Add support for proxy-user and proxy-pass to authenticate to proxies

See: #153
function names changed to add-cookie and clear-cookies
function names changed to add-cookie and clear-cookies