jodd-http/src/main/java/jodd/http/Sockets.java
public static Socket connect(final String hostname, final int port) throws IOException {
		final Socket socket = new Socket();
		socket.connect(new InetSocketAddress(hostname, port));
		return socket;
	}
public static Socket connect(final String hostname, final int port) throws IOException {
		final Socket socket = new Socket();
		socket.connect(new InetSocketAddress(hostname, port));
		return socket;
	}
Creates a socket.