Is there anyway to connect to IRC server via Message app? I'm wondering is there anyway to connect to IRC server via Message default app in OS X. Could I do it over XMPP protocol?
No the Messages app won't work as an IRC client. You have to use another app. Here you can find a list of good apps supporting IRC.