Implement connect function, when supported by hmsearch (https://github.com/commonsmachinery/hmsearch/issues/2)
Implement connect function, when supported by hmsearch (commonsmachinery/hmsearch#2)