Added Type checking to Socket Events
Added some Lookup Tables for ease of use.