Fixed issue where parsing url would throw TypeError if a public_uri was not provided in the body of the request
Fixed issue where parsing url would throw TypeError if a public_uri was not provided in the body of the request

* ParsedUri changes have been made to both PUT & POST requests
* Make sure req.params.public_uri exists before trying to validate port number

Test cases:
* { "tnt_addr": "0x1926aa1cb0d80072ada0a1fef65f3d4b26e83d78","public_uri": "http://35.230.179.171", "hmac": "823fab1f415132a8bea74300b81318d37952009e92d84001d41ce7b321243c93"}
* { "tnt_addr": "0x1926aa1cb0d80072ada0a1fef65f3d4b26e83d78","public_uri": "http://localhost", "hmac": "823fab1f415132a8bea74300b81318d37952009e92d84001d41ce7b321243c93"}
* { "tnt_addr": "0x1926aa1cb0d80072ada0a1fef65f3d4b26e83d78","public_uri": "http://127.0.0.1", "hmac": "823fab1f415132a8bea74300b81318d37952009e92d84001d41ce7b321243c93"}
* { "tnt_addr": "0x1926aa1cb0d80072ada0a1fef65f3d4b26e83d78","public_uri": "http://35.230.179.171:80", "hmac": "823fab1f415132a8bea74300b81318d37952009e92d84001d41ce7b321243c93"}
* { "tnt_addr": "0x1926aa1cb0d80072ada0a1fef65f3d4b26e83d78","public_uri": "http://35.230.179.171:9999", "hmac": "823fab1f415132a8bea74300b81318d37952009e92d84001d41ce7b321243c93"}

chainpoint/chainpoint-services,chainpoint/chainpoint-services