improved fd.is_server + changed some string constants