new single-threaded architecture
version 0.1, multiclient client-server library, supports usage from single thread only