Fix misbehavior around connection to slave node in pool

The idea behind this fix is following:
if u connect to slave node its should notify u where is you master, then
u reconnect to master and perform any actions in front this server
Fixed the issue according pool request #3356
Fix indentation
Merge pull request #1 from plribeiro3000/fix-indentation

Fix indentation
Merge pull request #3356 from oovoo/master

Fix misbehavior around connection to slave node in pool