Do not send (potentially) invalid headers in response to getheaders