client::register & null_client::register

Signed-off-by: Dong Yuan <yuandong1222@gmail.com>