First draft: RFC7159 compliance
Draft 2 RFC7159 upgrades.
Finished RFC7159 adaptation.