A 30-year-old primigravida at 38 weeks' gestation presents with severe headache, visual disturbances and epigastric pain. BP is 170/110 mmHg, urine dipstick shows 3+ protein and reflexes are brisk. You diagnose severe pre-eclampsia. What is the most appropriate management?