Update to Vault 1.4

Updated to work with Vault 1.4 and newer (also hold compatibility with
older Vault versions)
Merge pull request #1 from GeorgH93/InDev

Update to Vault 1.4