Bug fix: StreamTransport set watermark too high before waiting for header