add server methods to core.socket
Merge branch 'master' of github.com:UWNetworksLab/freedom