Requests without an Origin header previously caused an exception to be thrown if the allowed origins passed to the constructor was set to a dynamic function. Omitted origins are now set to an asterisk and passed properly to the origins function. A test for this case is included in this commit.
On server, `.of(name)` should use the same key in `.nsps` object for "" and "/" Important to use `String(name)` and `===` to keep out keys that don't cast to ""
…o if no option specified to attach directly
…onnectBuffer Source of bug: after connection to nsp '/', the socket's connectBuffer was being deleted. On attempt to reconnect to a different namespace, the connect buffer was deleted and we attempted to push to it. Instead of the deleting the connect buffer, it is now emptied.