some bugfixes and check for DOCTYPE in answer
Merge branch 'master' of https://github.com/Wolframe/wolfclient