implemented Chain <-> Client communication (currently no RSA here but still relatively safe)