getPort uses messageEvent to retrieve currentTarget and destinationUrl