add: ability to connect user-defined server.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>