A 31-year-old primigravida at 36 weeks’ gestation presents with a severe frontal headache, visual disturbances and right upper quadrant pain. Blood pressure is 170/110 mmHg and urine dipstick shows 3+ protein. Reflexes are brisk. What is the most appropriate immediate management?