addrmask_to_string: log getnameinfo() error codes
addrmask_to_string: check if bsd perhaps needs buffers for both hostname and port in getnameinfo()