Merge pull request #4 from Mirantis/sender

improvement of protocol