SERVER-15887 Add tests for ipv6 hostname parsing.

Closes #846

Signed-off-by: Benety Goh <benety@mongodb.com>