fix issue #1492: invalidate dynect session on ip mismatch (1.6.x)

fix issue #1492: invalidate dynect session on ip mismatch (1.6.x)