kalua: cgi-bin-tool.sh: first output 'Content-Type'-header, than data - otherwise this can lead to 'wget: server returned error: HTTP/1.1 502 Bad Gateway'