Patch http_client to not throw exception on empty JSON result.