add optional whitelisting of fingerprints for connecting

btw, please feel free to lambast this code for style or non-idiomatic stuff.. i'm still learning go...
I'd pull this out into a helper (given an io interface, return whitelist array), will be easier to write a test for later.