reworked httpurlcinnection