Don't assume the InputStream is an DataInputStream in Spigot's case.