I'm doing quite a lot of work with a javascript messaging system at the moment and end up making lots of use of netcat scripts to monitor and simulate as yet unimplemented server responses.
Does anyone know of a utility that can easily manage this sort of thing for prototyping purposes other than setting up a full webserver?