Add wrappers for proxy-related APIs, and store user-defined data in the ...

...forwarding proxy handler.