plugin.api.http_session: update and fix typing
plugin.api.http_session: update and fix typing

bastimeyer/streamlink,streamlink/streamlink,bastimeyer/streamlink,chhe/streamlink,streamlink/streamlink,chhe/streamlink