restruct http proxy