fix: update server options on reconnect
Merge pull request #195 from houqp/fix2

fix: update server options on reconnect