Use boost::lexical_cast instead of stringstreams.
Implement triggered downtime for services.

Fixes #3583