add http module callback support