update method table for all classes in updateClassTables

Previously we only updated this table for non-interfaces, but
interfaces may have methods which need updating too.
set SO_NOSIGPIPE socket option when available

This ensures we avoid SIGPIPE on socket disconnect on Darwin.