Let $f$ be a function such that \[f(x+y) = x + f(y) + x^2 - f(x + f(y))\] for any two real numbers $x$ and $y$. If $f(0) = -5$, then what is $f(17)?$