Added number conversion for MOBDEBUG_PORT.

Some environments that don't support getenv return a string instead.