static Rest connectHttps(String host, int port, String username, String password) {
        return new RestImpl(Protocol.HTTPS, host, port, username, password);
    }
This is the main interface of the REST system.
<p>
Usage:
<pre>
    Rest rest = Rest.connect("127.0.0.1", 8080);

    CompletableFuture&lt;Response&gt; future = rest.post("user", 
        Param.of("firstname", "Adam"), 
        Param.of("lastname", "Adamsson")
    );

    future.get();
</pre>

@author  Emil Forslund
@since   1.0.0
common-parent/rest/src/main/java/com/speedment/common/rest/Rest.java