code: @Override
    public StreamImpl stream()
      throws IOException
    {
      if (_stream == null) {
        _stream = new JniStream(this);
      }
  
      _stream.init();
  
      return _stream;
    }
docs: Returns a stream impl for the socket encapsulating the
  input and output stream.