[fix] Wrong class name in error message after error creating new folder. Fixes #1817
[fix] Implemented replacement of http protocol if current connection is https. Fixes #994