Added hostname input prompt to client code