Remove net/http dependancy