added leave and connect to rest.py
added leave and connect to rest.py

tomashaber/raiden,hackaugusto/raiden,tomashaber/raiden,tomashaber/raiden,tomashaber/raiden,hackaugusto/raiden,charles-cooper/raiden,tomashaber/raiden,charles-cooper/raiden