Forgive me for doing this without a picture of the contour for now. I can add later if you wish.
The inverse Laplace transform we seek is
$$ \frac{1}{i 2 \pi} \int_{c-i \infty}^{c+i \infty} ds \: e^{s t} \frac{s+1}{s^2+s+1} e^{-\pi s}$$
$$ \frac{1}{i 2 \pi} \int_{c-i \infty}^{c+i \infty} ds \: \frac{s+1}{s^2+s+1} e^{(t-\pi) s}$$
We consider first the case $t>\pi$. In this case, we use a contour from the $\Re{s} = c$, where $c>0$, and the portion of the circle $|s|=R$ that contains the poles of the integrand. These poles are at $s=\frac{1}{2} \pm i \frac{\sqrt{3}}{2}$.
We use the Residue Theorem, which states that the integral around the closed contour described above is equal to $i 2 \pi$ times the sum of the residues of the poles contained within the contour. I can go into more detail here if you want, but the sum of the residues at the two poles above is
$$ e^{-\frac{1}{2} (t-\pi)} \left [ \cos{ \left [ \frac{\sqrt{3}}{2} (t-\pi) \right ] } + \frac{1}{\sqrt{3}} \sin{ \left [ \frac{\sqrt{3}}{2} (t-\pi) \right ] } \right ] $$
For $t<\pi$, we must use a contour in which the circular portion goes to the right of the line $\Re{s} = c$. As there are no poles within this contour, the integral is zero here.
Therefore, the inverse Laplace transform is given by
$$ e^{-\frac{1}{2} (t-\pi)} \left [ \cos{ \left [ \frac{\sqrt{3}}{2} (t-\pi) \right ] } + \frac{1}{\sqrt{3}} \sin{ \left [ \frac{\sqrt{3}}{2} (t-\pi) \right ] } \right ] U(t-\pi) $$