seperate the travis http agent from the api wrapper