BUILD: lua: missing ifdef related to SSL when enabling LUA

A couple of ifdef are missing around SSL related functions in LUA.
It prevents from compiling LUA without SSL.
Current patch fix this.
diff --git a/src/hlua.c b/src/hlua.c
index 35253fa..1df18b6 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -1546,6 +1546,7 @@
 	return 0;
 }
 
+#ifdef USE_OPENSSL
 __LJMP static int hlua_socket_connect_ssl(struct lua_State *L)
 {
 	struct hlua_socket *socket;
@@ -1555,6 +1556,7 @@
 	socket->s->target = &socket_ssl.obj_type;
 	return MAY_LJMP(hlua_socket_connect(L));
 }
+#endif
 
 __LJMP static int hlua_socket_setoption(struct lua_State *L)
 {
@@ -3567,7 +3569,9 @@
 	lua_pushstring(gL.T, "__index");
 	lua_newtable(gL.T);
 
+#ifdef USE_OPENSSL
 	hlua_class_function(gL.T, "connect_ssl", hlua_socket_connect_ssl);
+#endif
 	hlua_class_function(gL.T, "connect",     hlua_socket_connect);
 	hlua_class_function(gL.T, "send",        hlua_socket_send);
 	hlua_class_function(gL.T, "receive",     hlua_socket_receive);