Detect dev app server correctly even if it's not localhost.
Detect dev app server correctly even if it's not localhost.

google/personfinder,google/personfinder,gimite/personfinder,google/personfinder,gimite/personfinder,AwesomeTurtle/personfinder,AwesomeTurtle/personfinder,gimite/personfinder,gimite/personfinder,google/personfinder,AwesomeTurtle/personfinder