Algorithm Design for Online Meta-Learning with Task Boundary Detection