Add tests and code for application exchange via XML Provisioning Server XML interface. Make changes to http_handler.
Add tests to socket_request and xml_request. Add improvement to several session handling into xml_request.
Unify returning value from socket_request and xml_request. Make socket_request as default method and xml_request as backup method if main socket_server is not responding.