update Connection interface
update ClientConnection
update ServerConnection
fix compilation errors...