refie http consts.
refine consts, move http consts to kernel consts