Add a example/test for modifying request header.
Add missing CRLF to request example.
Fix template path -> uri.
Fix trailing SP issue.
Standardise passing of cursor.