Use AHC UriComponents instead of java.net.URI, close #2126