Basically, if you craft a starless firework rocket (a plain one) and use it in Multiplayer, the server kicks you with an End of Stream error. If you reconnect with the rocket in hand, you get the error again unless you quickly switch to a different item in the hotbar.
Linked issues
duplicates
Comments

Please attach the crash report.