Tried to make parsing more browser like - still work in progress
Deprecated method with String charset
Extended API