Fixed issue with remapping arguments on write

Write arguments are found by searching for specific words before a
space in the message. If there are no arguments, but a space still
exists in the message, then the server would previously only send all
characters after the space, as opposed to the entire message.