Details
Description
We've experienced a situation where when creating a connection, the thread is stuck in a socket read during the HTTP HEAD call to the broker from HttpClientTransport:
httpClient.execute(httpMethod, new BasicResponseHandler());
After reading through the usage of HttpClient, it looks as though soTimeout is only set on the sent HttpClient instances, not the receive. This patch adds the timeout to both.