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
That would be mac x86