Fixes for 1510 & 1545

Issue 1510: All parameters in set-azureendpoint should be optional
Issue 1545: Set-AzureEndpoint should not set public port to null when not specified by user.