router: WIP

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
pkg: Move sseDecoder to the sse package.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
cli: Add service pausing commands to the CLI.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Send an event straight away if there's no requests when backends are
paused.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Update TCP test to work with the new backend structure.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Close routes before removing them

Signed-off-by: Lewis Marshall <lewis@lmars.net>
router: Use a mutex when doing a get/set on tcpRoute.service.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: PauseService silently noo-ops if there is no service with that name.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>