initialize HTTP status to zero
add function templates for writing HTTP headers without an intermediate struct
reorder code a bit
forgot to finalize the headers with CRLF