How can the following improper integral be evaluated?
$$\int_{0}^{\infty} \left( \text{coth} (x) - x \text{csch}^2 (x) \right) \left( \ln \left( \frac{4 \pi^2}{x^2} + 1 \right) \right) \, dx$$
or alternatively:
$$\int_{0}^{\infty} \frac{x \text{coth} (x) - 1}{x^2 (2 \pi + i x)} \, dx$$ Note: I am only really interested in the imaginary component of the second integral.
I've attempted multiple methods, all of which seeming unsuccessful, however, I believe contour integration may be the solution to the second integral above, which would also easily allow me to get the integral I'm interested in.