If connection refused to NB API, log if debug logging is enabled

Useful in case of certain network issues, like enabling Droid Wall and
forgetting about it.