Multipart handler for server