more specific exceptions thrown by http_client