Allow a developer to specify DUMMY_HTTP_PORT and DUMMY_PB_PORT env vars

On my dev box, tests that have 1022 and 1023 hardcoded hang indefinitely because they have been opened by another unrelated application. This PR allows developers to specify ports other than 1022 + 1023.