Social security and foreign indebtedness in a small open economy