Validate a Twitter ID in a CGI script