Add a small unit test for https

It is now allowed to give a buffer instead of a file (ease testing).
The client was augmented to allow insecure https connection.
Bump version