Changes involving proxies, curl and a fix for not flushing in http mode.