refactoring. SendAndReceive methods are moved to separate extensions class. Proto factory methods removed.