Patches & An Example

5b0f33f Added example code based on getunicorn.io docs
8b365da Removed undefined index and offset notices
0f86187 Fixed encoding of arrays