Manually added/modified the Socket.io script (until a better solution is found)