Fix Number format crashes in XML-RPC Client

Fix #1189