Implement post/file deletion
Don't crash on post failure
Decide and append extensions to image filenames without an extension

This usually happens with images downloaded from the web. e.g. http://example.com/gQthYp5v will be downloaded without an extension.
Merge remote-tracking branch 'Exodus/master'
Connection method for reply also follows 'use https' settings. (to avoid SSL unstability.)