Adds function to check if headers have been sent already
`Header::isSent()` returns false if headers not sent
Adds function to set headers
Fixes minor typo