Socket.io browser client declaration