Removed Gdx.net Server and ServerSocket duplication.

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