On OSX pbulk-scan can fail to bind with EADDRNOTAVAIL due to sin_zero being used uninitialised. Ensure the sockaddr_in is cleared before use.