Added the ability to dynamically set the content types.
Stopped the server from exiting when a broken pipe is encountered.
No longer hacking the request content to find the body.