By setting BINDADDRESS and delegating to server.sh we can avoid duplicating most of the code. This also makes 0d5e1c1 available for local.sh, i.e. being able to launch local.sh from arbitrary directories too.
0d5e1c1