The HTTP request looks like this:
The actual HTTP request looks something like this:
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Alcohol Search; GTB5; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; InfoPath.2; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Cookie: s_cc=true; s_c4_gppn=programmes/battle-scarred/4od; s_nr=1253896501718; s_sq=channel4dotcom%3D%2526pid%253Dprogrammes/battle-scarred/4od%2526pidt%253D1%2526oid%253Dhttp%25253A//www.channel4.com/programmes/battle-scarred/4od%2525232935225%2526ot%253DA%2526oi%253D93; foresee.session=%7B%22cpps%22%3A%7B%22Area%22%3A%22Programmes%22%2C%22Content%20Area%22%3A%22BIP%3A%20battle-scarred%22%7D%2C%22alive%22%3A1%2C%22browser%22%3A%7B%22name%22%3A%22Explorer%22%2C%22version%22%3A7%2C%22platform%22%3A%22Windows%22%7D%2C%22timeout%22%3A5%2C%22start%22%3A1253896239406%2C%22pv%22%3A5%2C%22current%22%3A%22http%3A%2F%2Fwww.channel4.com%2Fprogrammes%2Fbattle-scarred%2F4od%22%2C%22cdi%22%3A1%2C%22lc%22%3A%7B%22channel-4-browse%22%3A5%7D%2C%22ls%22%3A%7B%22channel-4-browse%22%3Atrue%7D%2C%22ec%22%3A%7B%22channel-4-browse%22%3A0%7D%2C%22sd%22%3A%7B%22name%22%3A%22channel-4-browse%22%2C%22idx%22%3A1%7D%2C%22previous%22%3A%22http%3A%2F%2Fwww.channel4.com%2Fprogrammes%2F4od%22%2C%22finish%22%3A1253896500468%7D; s_vi=[CS]v1|255E78190515B86E-60000180A0002C66[CE]; OAX=Vp2JFkq88EMADHyT; RMFD=011MrDhDO104XAN|O104YE7|O104YUH|O104bpJ; s_ic_one=4oDpage_promomodule; s_icid=4oDpage_promomodule; enamel=1; RMFS=011MrDmpU204U0I|U104bFb|U204bpO|U104cCZ
Presumably we could use the url_rewriter to do some work and make sure that only the proxy server is used and tunnels these requests back through the proxy?
Or can we reroute connections to destination ports 1935 through the proxy by putting something on the client?