Socket timeout and 2-way SSL fixes

* Fix to handle socket timeouts on proxied requests.
* Fix to handle URL that is not in configuration set of routes.
* Fix to support 2-way SSL.