typo's and partial spec of session layer
added constants for default values