This PR updates the code that handles remote connections to detect server emitted error messages and log them. Prior to this PR an expired link would make the UI appear to be sort-of connected with no indication of why it would not fully connect.