created simple URL_opener, added encoding detector