A 30-year-old primigravida at 34 weeks gestation presents with a persistent occipital headache, visual disturbance and swelling of her hands. Blood pressure is 170/110 mmHg and urinalysis shows 3 plus protein. She has normal reflexes and no epigastric pain. What is the most appropriate immediate management?