xaiki: split out server init, and handle errors

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Merge pull request #33 from inaes-tic/josx/xaiki_server_init

Josx/xaiki server init