Added support for bind_hostname option.