Prototype-implementation, works on linux