default to index.html
Moved to class

refactored to be in a class
Added HEAD method

Now a fullfledged http server, as per the specs.
bug fix

Fixed a bug of repeated headers