integration: use client to do requests

prepare for #1399 
tr := &http.Transport{}