working solution, but only one perl fastcgi worker can connect to the socket at a time