create http conector class