re-resolve tcp addresses on reconnections
Merge pull request #129 from fernandezpablo85/reconnect-and-resolve

re-resolve tcp addresses on reconnections