nginx shim for getallheaders