Small nit you can use the `sa` local variable rather than calling `getSocketAddress()` again