Fix using HTTP secure and insecure protocols in local env and in sandbox.
Add better messaging.
Fix.
Fix comments.
Add flags.
Fix flags names.
Use protocol relative submit url.