proxy support for http mode
proxy support works for 'sel' mode as well as for 'http' mode