(fix) Harden header parsing against memory exhaustion attacks.

Adds new limits on the lengths of header names and fields.

Fixes #187
Merge pull request #191 from reem/max-header-lengths

(fix) Harden header parsing against memory exhaustion attacks.