URLConnectionTest: add workaround for \r

Bug: 26422335
Bug: 26889631
Bug: 27606665
Change-Id: I88f5c0d456b871eccb36b49eb22e09065258ec02
1 file changed