Added proxy feature

Added the feature to setup Proxy configuration and send messages behind
a proxy environment.