Added support for TCP-server without threads and for running on current thread.