Added to httptransport.js