send prefix and serial via multipart
refactoring