It would require that the interface returns HttpURLConnection. I'll see if it can be adjusted that way.