aev: Modified Go client/server code.

Added code, that waits for connection handler to finnish.