core/socket: eliminate some duplicated code from bind_to_* functions

I was not sure why uwsgi_nuclear_blast was not used in bind_to_udp like in the other functions. Please let me know if not using it is important.