Adds 'ResponseThread'. Makes Python server multithreaded
Adds shutting down of socket output stream upon sending a message
Adds more methods to MockSocket
Adds multithreading support in main loop