Corrected type in reserved opcode names
Added dataprocessor test
Added extra checks:
- check on minimum representation of frame length (according RFC 6455 para 5.2)
- extra checks on network read errors
Redirect errors to DISPATCH_RESULT state, instead of directly setting isDone=true (makes the code cleaner, but a bit slower on errors)
Added extra error checks on network reads
Headers are ok
Added unit tests for:
- incomplete headers
- invalid headers
- invalid payloads