if available, use PORT from environment variable for server (bug 1090044)

https://bugzilla.mozilla.org/show_bug.cgi?id=1090044