Uses the default http client if none is specified