[#10] Replaced the use of cowboy_req:headers/1 for header/2.