refactor httproxy
refactor, add constructor
fix
parse first line of proxy-request