add EphemeralStream#headOption, tailOption