Add hostname as configurable option, default it to 127.0.0.1