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