How to extract S-parameters (S11, S21, S21, and S22) from passive network?

.net directive is now support in Qspice.