you need a listening socket which accepts components and need to add the component protocol also on the server side. Which is only authentication and routing.
see also: http://xmpp.org/extensions/xep-0114.html