getallheaders fallback, fixes issue #1