manager: add some options

the options `gc interval` and `handshake expiration` should be
configured by users in some case other than hard-coding.