Device readings application in C++ with fastcgi interface using Boost library