Justin Bradford's proxy support patch. Currently supports only HTTP