def _parse_sid_response(res):
res = json.loads(list(ChunkParser().get_chunks(res))[<NUM_LIT:0>])<EOL>sid = res[<NUM_LIT:0>][<NUM_LIT:1>][<NUM_LIT:1>]<EOL>gsessionid = res[<NUM_LIT:1>][<NUM_LIT:1>][<NUM_LIT:0>]['<STR_LIT>']<EOL>return (sid, gsessionid)<EOL>
Parse response format for request for new channel SID.

    Example format (after parsing JS):
    [   [0,["c","SID_HERE","",8]],
        [1,[{"gsid":"GSESSIONID_HERE"}]]]

    Returns (SID, gsessionid) tuple.