pkg/types/flags: introduce flags package

I want to use the Addrs type in another experimental proxy that I am
implementing. Pull it out into a separate package.
Merge pull request #1196 from philips/add-flagtypes-package

flagtypes: introduce flagtypes package