Rfc6810 bis

pull request for reviewing code
Would allocation on the stack also work here? entry seems to be only used in this function