FIXED: initiator flag

When the shared secrets are changed the initiator flag is reset since a key exchange received will no longer work.