modified client to clean up host inputs and paths

@todo validate paths and include better option for final path to xmlrcp.php