Updated akvo.rsr.middleware.get_domain helper function to support 4 part domain names and to pass through rsr.akvo.org as is.