Merge pull request #1549 from clebertsuconic/master-fix

fixing failover test
refactor client protocol
abstract session on consumer
abstract session on producer
Session abstraction