Upgraded to work with apx 0.4.0-rc1.
Socket.io is now optional
Added extra configuration parameters