Fix Reconnect Bug when Disallowed/Malformed Intents are provided
Created by: jeffreyladd
Summary
Fixes #682 (closed)
Details
Changes the Reconnect logic in SocketOnDisconnect to check the Close code. If it is due to disallowed Intents or invalid ones, we will not reconnect. Granted we should never hit a 4013 but placing it there as a saftey measure.