added render python callback
added check for empty boost functor and worked on mhttpd server