adapting for proper XML-RPC communication with Moses server