In core.socket change reads from sockets from a nonblocking method to
an event that fires when data is available. Likewise change accept
to an event that fires when there is an incoming connection.
Change core.socket events to fit convention.
Change return types of onData and OnConnection events.
onConnection in core.socket should provide the server socket the connection is
originating from.
Change the onData event of core.socket to have a return type of a buffer.
Merge branch 'sockets_refactor'
Changes the sockets api in freedom
Merge branch 'master' of github.com:UWNetworksLab/freedom into hub-refactor
Fixes to custom channels such that they now work with instaCDN