Assign random port to devtools server in case user does not specify a
port explicitly and report it to the embedding layer for display to user.