Add get_segment method for getting TS segments

Moving closer to stateless model for HLS