Added online-check

Added online-check via detection of the content-length