Update 4 Dec 2014.

Server is mostly working now thanks to help and sample code from a classmate as well as an online tutorial.
Some issues remain however, details can be found in a comment block in main.cpp.