creat http class