Connection patcher: port to cpp and fix osx

note: no longer downloads nonexistent modules
note: now throws on not finding patterns
new dependency: boost.filesystem
Is this really off-by-one from being 0xFEEDFACE?