3321: Fix getting principal IP from headers
3321: Fix getting principal IP from headers

Authors: 72d0743fa974f1b94d0389ab43a06cc7eebf90ac@chrisholmes

alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend