I'm sorry, but your argument is incorrect. From
$$
\sqrt{2}+\sqrt{17}=\frac{a}{b}
$$
and squaring, you get
$$
2 + 2\sqrt{34} + 17=\frac{a^2}{b^2}
$$
and not $19=a^2/b^2$ as you claimed.
You can instead observe that
$$
\frac{(\sqrt{17}+\sqrt{2})(\sqrt{17}-\sqrt{2})}{\sqrt{17}-\sqrt{2}}=\frac{a}{b}
\tag{*}
$$
which is tantamount as saying that
$$
\sqrt{17}-\sqrt{2}=\frac{15b}{a}
\tag{**}
$$
Subtracting (**) from (*) you get
$$
2\sqrt{2}=\frac{a}{b}-\frac{15b}{a}
$$
which would imply that $\sqrt{2}$ is rational.
Note that this method will work in all instances of $\sqrt{2}+\sqrt{x}$ and $\sqrt{2}-\sqrt{x}$ (so long as $x\ne2$).