tls connection teardown upon unrecognized message type connection state dictionary compiles based on 'enable_messages'