Update xmlrpc library to compile with Erlang/OTP R17

The xmlrpc library does not compile with Erlang/OTP R17-rc2 due to two problems:
- encoding of some characters
- use of obsolete functions like atom(), integer() etc

I've fixed both problems.

I've tested now the code compiles correctly with R17-rc2, and also with the previous R16B03-1.