use len instead of [] to judge a empty list
enable http proxy