cloudstack api post and ssl fix

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>