Added http functionality to html parser