Progress in common Connection class (used in client)