Based on Cocoa with Love article: "A simple, extensible HTTP server in Cocoa". http://www.cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html
This is a swift version of HTTP Server that is doing following:
- Opening a socket for listening
- Receiving incoming connections
- Handling response (returning 501)