first version of HTTPS POST, does not work