Modified version of cppcms