In the process of answering to this question, I got stuck in the calculation of the following integral that prevent me to give a complete answer:
$$\int_0^{+\infty} e^{-u} \frac{\sin(xu)}{u}\operatorname{d}u.$$
WolframAlpha gives for this integral the result $\arctan(x)$. However, I can't see a path to deduce this equality.
Any hint?
A standard argument using two integrations by parts shows that $\frac 1 {1+x^{2}}=\int_0^{\infty} e^{-u} \cos(xu)\, du$. Integrate w.r.t. $x$ and note that both sides of the given equation vanish at $0$.