Rfc6810 bis

pull request for reviewing code
Why is the session_id compared with the reserved field?
Should the reserved member be renamed to session_id?