add debug option
set secure param for websockets
Merge branch 'master' of github.com:UPCnet/maxserver.devel