Missed updating the signature of socket close functions
Add -Werror to gcc options