Add support for configuring the client-side socket.io's path (better reverse-proxy support)
The code is largely taken from the nowclient repository, except with a few modifications to maintain API parity and reflect bugfixes in nowjs itself. Note that while this commit may not seem to work, this is due to a known issue with socket.io-client; for more information, see Automattic/socket.io-client#336 .
This fixes a bug that occurred when using a custom logger. socket.io would always send "socket.io started" trough the default logger since options was not set until after the server is started.
…er pull request #133.
Changed arguments index mismatch Added missing this to availableFunctions