Merge pull request #16 from Xeoncross/master

Prevent connections from hanging (pull request from @Xeoncross)
Add debug logging support
Add example debug output
Proper handling of redirections (see https://github.com/fguillot/miniflux/pull/82)