added command line parameters
added support for HTTPS
testing if received POST data is valid JSON