add displayError method
refactoring, as well as client-server connect/disconnect handshake
add more error checking
renamed
renamed/moved
execute connect command on connection
refactoring