update luasec to 0.5 to fix memory leak