Remove dependencies on httpcomponents in test.
Merge pull request #16 from continuuity/feature/remove-http-client-dependencies

Remove dependencies on httpcomponents in test.