fix http client warnings (when using self-signed certs)

- message: "SimpleHttpConnectionManager being used incorrectly.  Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time."
fix possible NPE