TYRUS-204: ProxySelector support

ProxySelector support
Improved error handling on client side.