xio: set port in entity_addr_from_sockaddr
xio: add some debug print statements