add two apis about address

add set_default_address api
add get_default_address api