Added http.header function
Fixed a few missing returns