build http client in static method