[doc] update docs with toProxy option