add implementation of ClientConnection/ServerConnection