Added flush to continue response
change default location to be https from http
Made web services client a general purposes client