Fix #4 plus test server using ip addr

Enjoy.