Revamp metrics-httpclient.
Upgrade some dependencies.