minimalized winsocket CommunicationController
fixed compiler errors
Merge pull request #1 from 0x7f/CommunicationController

fixed compiler errors
CommunicationController interface cleanup
improved CommunicationController interface
moved data receiving to separate thread
added critical section stuff and moved code into namespace desm
Merge pull request #2 from 0x7f/CommunicationController

Communication controller cleanup
added some comment and source for threading
added loopback sniffing capture
added AcceptConnections while - to make a reconnect after connection lost possible
common socket names + detail log
main test case
socket shutdown only in sendData needed + removed scopeSocket implementation
fixed buf stackoverflow + removed scopeSocket comments
fixed receive condition + added comments / log
fix receiveData conditions
added thread safe queue wrapper
thread template now allows params
finally got the communication right

- interrupting threads works
- client/server have main thread that checks state of data threads
- they also wait for external shutdown requests (done by deleting the
  CommunicationController instance)
- moved connection accepting to seperate thread
- server is now able to handle multiple connections (there is no extra
  data queue per client connection -> data is sent to all clients)
- client is doing retry when connection lost
- cleaned up debugging outputs