Add option for dropping privileges

Pull request for #33
It still needs docs (and maybe tests) but here's the code.