Added check for both randomized ports

Added a check when establishing the session to send a connect fail if both
ports have been randomized