php -S 127.0.0.1:8080
http://stackoverflow.com/questions/3940046/can-i-use-netcat-... seems to have a basic example.