Add a minimalistic implementation of a MIME Typer.
Crucial fixes to the request/connection handling.  It basically works, now.