provision/docker: moving code

Trying to keep dependant functions together.
router/hipache/router: deferring close of redis connections
router/hipache: use a connection pool for Redis communication