socket.io: setting overloads, callbacks and option typings