Added SpeedPacket support on the serverside and refactored/commented the
code.