Add localParameter support to Request.
Extract write() method.
Merge pull request #151 from alxhub/local-parameters

Add localParameter support to Request.