Reformatted Webserver Code

I took @smishra2's code and made it use spaces instead of tabs, wrap to 80 columns, use same-line curly braces, etc.