Moved metrics to server. Fixed re-bind

Found that if the connection to the pull goes down, when it came back up again, since we do ".on('connect', xyz)" xyz would get re-bound over and over making it duplicate it's work. That's now fixed.