Add support for tcp based proxy