Add a factory constructor to create the default parser in IrcParser