Remove default_to arg and use X_FORWARDED_FOR & fallback to REMOTE_ADDR
Remove invalid test cases