http: Fix assertion broken for IPv6 addresses.
These two asserts used to be in separate branches, but the code was consolidated into a single branch by e6350334. However, the asserts were not updated at the same time. With an IPv6 address, the sockaddr_in assert would always fail.
Showing with 3 additions and 3 deletions