Added support for HTTPS connections. Added support for custom HTTP request headers. Added EventSource state updates for OPEN and CLOSED.
Removed SSL-specific classes.
Added some comments.
Added SNAPSHOT to version.
Merge branch 'master' of github.com:whizzosoftware/eventsource-java into SSL
Reverted custom HTTP Header and POM changes
Fix a couple of merge issues relating to the rescoped url variable and the new event
Calculate port based on schema if the port is not explicitly set
Use the correct origin in the case of an SSL connection
If we haven't been provided an SSLEngine, why not create one? :)