Added a packet size check which will *hopefully* prevent disconnect errors like we've been seeing.