This introduces a new file cidr.js, which handles matching CIDR IP
blocks. It replaces our dependency on node-ip.
The old proxy IP system is also moved to cidr.js.
After upgrading node-sockjs to v0.3.7 on the live server, there was an
issue where the `close` event was apparently not being fired on some
sockets, causing various problems.
The only version of ndoe-sockjs that we know for sure works is v0.3.5,
which is the version that had previously been in use on the main server
for a long time.
- upgrade sugar version to 1.3.8 (at least 1.3.7 is required for
`Object.select` and we may as well require the latest version)
- change two space indentation to tabs for consistency
- add Cathy J. Fitzpatrick to contributors array
The default configuration of Pokemon Showdown does not use
socket.io, so it is more appropriately marked as an optional
dependency. This change is largely cosmetic because npm install
will still install optionalDependencies.
The 'request' module is currently unused so it doesn't need to
be included in package.json.
In addition, GitHub is now served over SSL (and has been for
a while).