Add port reuse.

Way easier to debug now.
Reset mimet for every request.
Add 501 header.