Fix a addr() bug on SocketAddress/IPAddress