On retry HTTP request, instead of replacing just host:port part of the old URL, the library inserts full URL.