Network and content adaptive streaming of layered-encoded video over the Internet