add set_peer_weight api

add new api for upstream module, change backen weight dynamic