It has serial on the connector. It is 3.3V TTL level so you will need a converter to turn it into 'real' serial.
If you jailbreak a device you can access this port without any problems and do cool stuff.
Just be sure to properly buffer and convert the signals. You don't want to kill your device.
Sparkfun sells connectors in a breakout board. So does DealExtreme I think.
As a side note, other people have used the audio jack for I/O, like the iPhly Remote Control or Square