Added youku support; improve http casting