core: fix bind_connect for conenctions bound to an address