Add proxy support for client socket connections

Related issue: #1133

- Remove unused dependencies from POMs
- Add ProxyHandler and its implementations
We have another method that reverts the changes made in this method.  if this have to be renamed to initPipeline, what should the other method be?