Java framework for creating tcp servers