added http debug