Added support for Proxy

Added support to RestClient for Http Proxy.