Guard against framing errors when applications manually specify a Content-Type
that doesn't match the data they send.

Split HTTPMessageException into HTTPInputException and HTTPOutputException.
Add max_bytes parameter to read_until and read_until_regex.
Add a configurable header size limit to HTTPServer and simple_httpclient.
Add timeouts for idle keepalive connections in HTTPServer.

Add gen.with_timeout wrapper.