Removed antlr3 from java and php compilation scripts
A new networkserver class was created to allow better tests of network layer and separate listen logic.