Node.js is very handy for prototyping, with its NPM packages allowing to create services using HTTP, websocket, TCP, UDP, Bonjour/Avahi service declaration or discovery, each of these in only tens of lines.

Here are some "must read" for newbies:

And "could read":

Streams to follow:

What can be done: