added handling for closeSecureChannelRequest (one reason for packet loss)