Added client code for wifi testing