add sizeof function for multipart reply