Added a broadcast method for hub and made Socket return the hub object