* set correct Content-Type and  Content-Length headers
* switched to httpkit since it sets the Date header by default