lib/metadataprotocol.js
function readNotifyUserHeaders(message, tokens) {
	var i;
	message.headers = {};
	for (i = 0; i < tokens.length; i = i + 4) {
		message.headers[protocol.decodeString(tokens[i + 1])] = protocol.decodeString(tokens[i + 3]);
	}
}
function readNotifyUserHeaders(message, tokens) {
	var i;
	message.headers = {};
	for (i = 0; i < tokens.length; i = i + 4) {
		message.headers[protocol.decodeString(tokens[i + 1])] = protocol.decodeString(tokens[i + 3]);
	}
}
function readNotifyUserHeaders ( message , tokens ) { var i ; message . headers = { } ; for ( i = 0 ; i < tokens . length ; i = i + 4 ) { message . headers [ protocol . decodeString ( tokens [ i + 1 ] ) ] = protocol . decodeString ( tokens [ i + 3 ] ) ; } }
Decode the headers of a notify user request.

@param {Object} message the message object partially initialized
@param {Array} tokens the rest of the headers part of the message already tokenized
@private
Decode the headers of a notify user request .