Removed unused methods and changed transport events
update
Changed from connection:error to connector:deactivated
update