Add hostname lookup failure to xmlrpc. Fixes #364