support async

I needed this changes so I could start the server only after the session store is connected.
Merge pull request #4 from Lexas/patch-1

support async