server modified to work in non-blocking mode
Boost server