Fix issues on URLConnectTest

Add timeout for redirectsResponseCookieToNextResponse test
Change charset for Baidu's website to UTF-8