#78 refactoring Run: unify handshake and change cipher spec