Added support to specify custom timeout values for HTTPClient.