add attach function for titanium mutlipart requests