refactor HttpLang