export a function that creates a readable stream to remove irc and confortable dependencies from main module