Fixing a few remaining issues with UTF-8 validation.
Cleaned and simplified utf-8 stream validation