Fix address construction from InetSocketAddress;  ensure all connections registered;  add logging