title: Issue with socket.io-stream importation in Angular 6
body: <p>I'm using <code>npm install socket.io-stream</code>
   I implemented <code>socket.io-stream</code> on my angular component like this : </p>
  
  <pre><code>import * as io from 'socket.io-client';
  import * as ss from 'socket.io-stream';
  </code></pre>
  
  <p>I just want to create a duplex stream like this :</p>
  
  <pre><code>stream=ss.createStream();
  </code></pre>
  
  <p>I have this error when I run <code>ng build</code> : </p>
  
  <pre><code>ERROR in ./node_modules/socket.io-stream/lib/iostream.js
  Module not found: Error: Can't resolve 'stream' in ' 
  'C:\Users\geoffroy\Documents\Mines Alès\2A\Stage\WebService based 
  GUI\WebApp\node_modules\socket.io-stream\lib'
  ERROR in ./node_modules/socket.io-stream/lib/blob-read-stream.js
  Module not found: Error: Can't resolve 'stream' in 
  'C:\Users\geoffroy\Documents\Mines Alès\2A\Stage\WebService based 
  GUI\WebApp\node_modules\socket.io-stream\lib'
  </code></pre>
  
  <p>I don't understand because on my server.js It seems to work..</p>
  
  <p>I try to run the command <code>npm install stream</code> and I don't have error with <code>ng build</code>. But when I launch my application I have a new error in my browser console :</p>
  
  <pre><code>inherits_browser.js:5 Uncaught TypeError: Cannot read property 'prototype' of undefined
  at Object.inherits (inherits_browser.js:5)
  at Object../node_modules/socket.io-stream/lib/iostream.js (iostream.js:10)
  at __webpack_require__ (bootstrap:76)
  at Object../node_modules/socket.io-stream/lib/socket.js (socket.js:4)
  at __webpack_require__ (bootstrap:76)
  at Object../node_modules/socket.io-stream/lib/index.js (index.js:1)
  at __webpack_require__ (bootstrap:76)
  at Object../node_modules/socket.io-stream/index.js (index.js:2)
  at __webpack_require__ (bootstrap:76)
  </code></pre>
  
  <p>Thanks for your help</p>