Multiple changes: added bind::domain to support multiple domains.
cleanup