Update play.pl

Added IP address validation for the session id.