added header parameter to Client::request