Correctly bind the server to the right host name

This allows you to e.g. only listen for connections to localhost. This
fixes #11.