Tweaked some stuff to prevent users with invalid characters on their name from joining DMP servers

and I also added an Enum for handshake replies. I had to add the regex
because Windows wouldn't throw if the username had ", <, > or |.