Add support to explicitly choose a public uri. It is optional, and It is used primarily to test the service running it locally, and use a publicly accessible proxy service to it your local service. Consolidate the function and method definitions to use separated arguments instead of tuples.
Merge pull request #2 from nataren/explicit_public_uri_support

Add support to explicitly choose a public uri.
Create utility method to create JSON methods