Throw exception is httpclient is null when proxy or timeout information is set
Exception handlers should provide context
Reduce return statements