Method Overloading In Java Simple Socket