Go middleware that implements a few quick security wins.