async io and simple client-server chat