Run sio middleware fully in a promise chain
Read session secret from the config file

Closes #56