git typescript interface for promises
fix ipv6 host interpretation.
fix the bug: the byte order need to be swapped before print it out for ipv6 addresss.
Merge pull request #17 from uProxy/ts-refactor

ts refactor #3
Merge pull request #18 from uProxy/sword2

fix ipv6 host interpretation.
Merge pull request #19 from uProxy/ts-refactor

ts refactor #3 - addendum
move typescript-interfaces to interfaces and indentations in promise.d.ts
Merge pull request #15 from uProxy/typescript-promise-interface

git typescript interface for promises