Tools/ConnectionPatcher: allow to find pattern multiple times
Tools/ConnectionPatcher: fix: adapt to compiler optimization around Signature pattern on osx clients