refactor XFProtocol
offline file HTTP URL and FTN5K code