Updated notifier for testing.

Added JSON support, and smart switching of JSON options.
Fixed Failing test + smart switch

Adds HTTPS support on post + JSON API.