Can parse codes zh-Hant-TW

Added the ability to parse language codes such as 'zh-Hant-TW'. Added
further options for cookie.