MINOR: httpclient/lua: supports headers via named arguments

Migrate the httpclient:get() method to named arguments so we can
specify optional arguments.

This allows to pass headers as an optional argument as an array.

The () in the method call must be replaced by {}:

	local res = httpclient:get{url="http://127.0.0.1:9000/?s=99",
	            headers= {["X-foo"]  = { "salt" }, ["X-bar"] = {"pepper" }}}
diff --git a/reg-tests/lua/lua_httpclient.lua b/reg-tests/lua/lua_httpclient.lua
index 390ba41..9ea8e33 100644
--- a/reg-tests/lua/lua_httpclient.lua
+++ b/reg-tests/lua/lua_httpclient.lua
@@ -21,7 +21,7 @@
 	core.Debug('CRON port:' .. vtc_port)
 
 	local httpclient = core.httpclient()
-	local response = httpclient:get("http://127.0.0.1:" .. vtc_port)
+	local response = httpclient:get{url="http://127.0.0.1:" .. vtc_port}
 
 	core.Info("Received: " .. response.body)
 end