IrcProtocolAdapter can now connect to server correctly.