Added localaddr option

In some cases, your local server may not be running bound to the
default ip address (0.0.0.0). The change addes the option of specifying
the local address.