model params id setting fix and client cookie encoding bug
lib build [ci skip]
Merge pull request #52 from jstrimpel/master

model params and cookie encoding fixes