make connect_to_bitmessage() parametric again