[twisted server] some minor fixes