Fix issue #4 plus test server using ip addr

Enjoy.