do not send error responses in clients
add a Content-Length header when there is no body