firefox stuff: accept connection header with multiple entries
log error and close socket if handshake fails
use new variant from libwebsockets