Implement python version of crypto mirror initial protocol