Add some missing EXTENSIONS sections to misc tests
Normalize error message capitalization
Fix memory leak on socket_sendmsg() / socket_recvmsg() error