Change init method of CDTSavedHTTPAttachment to make more generic