updated examples for newer version of SimpleHttpClient