HttpUtil improved