reject stupid requests
set Content-Length
set Content-Type for jade and less