Add preflight cors over spdy
Add test for eventsource over spdy
Fix check for spdy
Fail gracefully when EventSource constant is undefined