1. Add new code to parse server address.
2. Support parsing IPv6 IP as server address.