Move http client dependency to Java client.