fixed logical bugs in the socket wrappers and created a functional multi-threaded web server