SMHTTPclient class and test app