Adds the ability to specify the hostname to bind to.