windows: replace use of inet_addr with uv_inet_pton

Fixes a compilation warning with Visual Studio 2013.