Fixed a bug that would cause incorrect handshake in INIT-SEC if a reply is not needed, but a reply still has to be sent.