Updated multipart form data parsing to use pointer arithmetic