Only set server tag if it's valid.
Brace style fix.
tests: Pass hostname/port to MockConnection from MockClient.
tests: Client.server_tag tests.
tests: Add is_channel/in_channel tests.