Add ssl options. Refactor code.
Fix typo
Add sockjs port to the settings
Merge pull request #2 from mindinpanic/master

Add ssl options