context.onerror: fix response handling

closes #199 

not totally sure if i'm unsetting all the headers correctly but it works. it also unsets `x-powered-by` but whatever.