httpserve: added option to serve index file
httpserve: don't gzip unless the client requested so