Lightly is a framework for asynchronous protocol server/client development, fully written in Java.