Refactor Socket to use Map and add authentication to handler
Refactor Topic argument order
Refactor active channel on socket map