replace util.inherits with inherits
modified _brico stream inherit for browser