Allow cast from int to double in xmlrpc helpers

This is a fix for #28 

@bmagyar can you try this? I checked that it builds, but can not try it easily on my setup.