Refactoring ProxyHttp for clarity & code cleanliness.