Set local address to listener address, closes #337