How to check if a stream is already open with peer

I’ve opened another thread here What causes a "stream reset"? :slight_smile: