some Http class code added.