Merge pull request #68 from uProxy/dborkan-new-tcp

Fix typescript errors related to promises.
Update freedom-typescript-api package #.