Builr fix after removing WaitForData.
Build fix of server. renamed main.config -> main.conf
Buildfix of server. Added libboost_thread due to using boost::shared_mutex.
Commented code with wating data.
Reading full message from client before processing it.
Reverted subscriptions processing.
Merge pull request #34 from treww/master

Reading full message from client before processing it.