Changed client to reimplement protocol enum, added JParser to client