Updated to use the latest promise, dans, socket and stream libraries. Including version bump to 0.3