SERVER-9612 Fixes mongos to parse correctly IPV6

https://jira.mongodb.org/browse/SERVER-9612