remove HTTP client code