Add a shutdown method for abruptly killing the server
Add a shutdown method for abruptly killing the server

This closes the socket. According to this SO answer that should cause an
exception to be thrown from accept and force the shutdown of the entire
server.

http://stackoverflow.com/questions/1510403/how-to-unblock-a-thread-blocked-on-serversocket-accept

RadicalZephyr/http-server