use httpclint to replase HttpURLConnect