Fix for fatal ReferenceError

If the RCON connection runs into an error while writing to the socket, it will hit a fatal ReferenceError saying that `self` is not defined. This is because the variable `self` was not set to `this` in the `request` function like it was within the other functions.