add hack in header() lua function to be able to change Content-Type in lua script
use a good log system
handle args
remove logfile reference