Added option for headersToHide in order to optionally hide arbitrary headers (e.g. Authorization)