Handle ShotFired in a more robust way. Rewrote socket set stuff again. Fix a sizeof check.