XEP-0114: Added an example for component connection.

The example is based on basic.c program.
To run the example, a configured server is needed.
added examples/component to .gitignore