Reduced Gdx.net class redundancy 

This moves the java.net Socket and Server socket implementations into one file and reduces the class redundancy.