add freedom as a runtime dependency and copy transport provider into the app
add transport api as a dependency
factor out arraybuffer utilities to a new common file
add arraybuffers utility functions
move from peerconnection to transport
remove some old comments
inline serveDataToPeer
rename replyToSOCKS_ -> onDataFromPeer
rename closeConnection_ -> closeConnectionToPeer
define messages for the control channel
factor out a create function which returns a promise
return fake localhost address
make the control channel use the new types, properly incorporate connection callback into the flow, and pipe endpointinfo all the way from netclient.ts though to socks.ts
some tidy-up and comments for the connection callbacks stuff
tidy up promise chaining
make Command.type an Enum
underscore suffix for private members
bump freedom-typescript-api to 0.1.4
Merge pull request #55 from uProxy/yangoon-transport-api

migrate from peerconnection to transport