Proper syncronization when waiting for reply
Merge branch 'master' of https://github.com/antonl1911/secmod