Fix dependency error with http-client

I remove the groovy plugin httpbuilder because it depends on an old
version of Apache HttpClient.  I replace the code by Apache HttpClient
calls.