Resolved implicit conversion.

`SCNetworkReachabilityGetFlags()` returns a `Boolean`, not `BOOL`. This can cause a warning/error depending on your compiler flags. As this was only used once in a conditional expression, maintaining the `Boolean` throughout should be fine.