Fix connect scripts when bind addr is set
Fixes #12