inital port of socket events over to new go framework