Working with http as well
Better header handling