There is already a nice VPN client plugin for Kodi. It works and is dead simple to use. I posted details here: