Set Content-Length header to 0 on empty JSON POSTs
When using lighttpd as a reverse proxy empty POSTs get rejected by the server if they don't have Content-Length set to zero, so some calls like marking a room as read fail to make it to the homeserver.
fixes: GNOME/fractal#475
Edited by Scott Sweeny