Creation of master playlists works. Optional support for integers in X-TARGET-DURATION for mediaplaylists (from code by jacereda https://github.com/jacereda/m3u8/commit/a29185adaca8b6ccd98ee95701a4bf42a4345155).