Prevent handshake spam from invalid names.
Fixes DecodingException caused by first-joiner

Ensures that the CipherCoded(ChannelHandler) is added right in time to the
channel pipeline before the next packet arrives by the client.

Thanks @md_5 for working with me to resolve this and pushing a fix to
Spigot

Signed-off-by: XemsDoom <moser.luca@gmail.com>
Fixed formatting on else (OCD)
Signed-off-by: Steven Downer <grinch@outlook.com>
Prevent handshake spam from invalid names.

Conflicts:
	src/main/java/org/bukkit/craftbukkit/Spigot.java
Debug mode false by default for stable builds
Signed-off-by: Steven Downer <grinch@outlook.com>