added support for threaded server in nutensils