Javadoc fixes and adding dependency on httpclient.