webserver: add a flag for printing the version

Related to #88.