mod_rayo: open sockets last when configuring module
mod_rayo: cleaned up some stuff