Basic Client Server encryption example