using getResponseAsStream