Save IP in IRCProtocol instead of relying on transport

Exactly what it says in the commit message.