Add hostname lookup failure to xmlrpc. Fixes #364
Merge pull request #365 from trainman419/fix_364

Add hostname lookup failure to xmlrpc. Fixes #364