simplify method to get remote address