Revert "Revert "Revert "Setting chardet requirement as optional"""

This reverts commit f52504d4170701855609535899a8441c864deb8a.
Revert "Revert "Revert "Revert "Setting chardet requirement as optional""""

This reverts commit e0bb35b6654711ed01eb0ac5c39966d128e44c36.