Remove dependency on commons-http.