Add events for socket connection
Move initializeSocket function and remove excess events
Merge pull request #9 from fluentstream/connection-event

Add events for socket connection