* fix code formatting
* remove setting of content type because it is the length in chars and  not in bytes setting the char length fails for any character more then one byte encoding
* set content type and character encoding
* set content type for index.html to text/html and encode as utf-8