Eliminate trailing spaces in server address

The Minecraft client allows for servers to have addresses with trailing spaces (a likely occurrence when copy-pasting from websites occurs).
Changed so the address is `trim()`-ed before it's parsed.