Fixes #914 by checking that the response object responds to allHeaderFie...

Fixes #914 by checking that the response object responds to allHeaderFields before calling it.

If it doesn't, we just pass to the super.

(Commit says "server," whoops, braino.)