What happens if you call the 'on' method multiple times for the same function on a socket? Does calling it multiple times simply overright the last registered function or does it use more resources?
If it is the later, then how do you determine if a handler is already registered?