1. solved the problem with address char in both, client and server; 2. added version 1 of the main inplementation (for test)