Implemented events in IrcProtocol.
IPA can now send messages to server.