Use xmlrpc extension when available for even faster encoding/decoding and adapt fallback solution + tiny fixes