refactor: add connect+proxy, remove useless