a dropbox.reste.RestSocketError is a subclass of socket.error and the attribute we want to look at is 'errno' not 'status'