Make the server threaded

Naive implementation of a threaded web server