include NULL terminator when copying default_domain to server_addr.domain