implements multithreaded socket server test, updates makefile to include pthread library for socket server

Signed-off-by: Chris Hannon <chris@channon.us>