unfortunately I haven't found such a servent, too.
but you can try, to use gnut, together with something like expect. so you should be able to get the wanted functionality.
another way would be to write a little perl script (there is a gnutella module), listening and writing the wanted data.
pretty hacky, I know.