Add cd and pwd function in client side.

Signed-off-by: Yunchao Chen <ytu_cyc@126.com>