jsonrpc: xmlrpc protocol detection

Protocol detection added which only recognize xmlrpc and there is still
additional socket to handle jsonrpc related communication.

Change-Id: I72819cc0ab5bde0150456263ab7dd1a5e99abfeb
Signed-off-by: pkliczewski <piotr.kliczewski@gmail.com>
Reviewed-on: http://gerrit.ovirt.org/28507
Reviewed-by: Nir Soffer <nsoffer@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>