fix standalone webserver by printing headers