more fixes for fake http reply hack