added output of various HTTP request headers
add support for flash notice