sockets: make shutdown(2) how argument a enum
Reviwed by: tuexen Differential Revision: https://reviews.freebsd.org/D43412