Use constants for msgpack message types

Refactored to return HTTP_NO_CONTENT for notify messages to match the behavior of WebAPI::JSONRPC
A notify now expects HTTP_NO_CONTENT to be returned