I don't see anything in the code to account for cases like this, would it be possible to add an API that tells the library about local IP changes?