ftp: fix debug() call
http, https: initial "http:" and "https:" implementation

Still need to implement proper cache validation support
(for 304 Not Modified support), and add tests.