Changed thudhclient to thclient