codec: Forward the notify messages timestamp

Otherwise messages in which timing is important (e.g. onTextData) would
confuse the client.
codec: Cosmetics

Trim trailing spaces away.