Fix cookie/proxy support.