added blocking server and testclient