Make sure that networking is disabled on the build server

Our build server builds github pull requests submitted
by random users, so we can't have unit tests accessing
the network. This test makes sure outbound communication
is blocked when running under TeamCity.