fixed bug in doctype command handler: subsequent requests in one network message were swallowed