server: packet size check