Don't blow up if req.RemoteAddr isn't set
Move Exception into separate file