Add ip helper functions to Request class