Correct turn order mechanics

1) For the purpose of action sorting, a Pokemon's effective speed is
   `speed & 8191`.

2) Trick Room works by replacing a Pokemon's speed by `0x2710 - speed`.
Add option to disable WebSocket