PHP parser for messages conforming to the IRC protocol