Console chat Cleint/Server classes taken from SO for implementation