fixed an issue regarding headers in firefox for websockets (hack)