fixed a bunch of errors in XMLRPC request and response, closes #528