Don't initialize if not necessary
Pass InetAddress instead of socket