net/stream.py: also set opaque to None