added status code to http client helper