Well have you tried httpd webserver that comes with rtcs. It does provide you with multiple simultanious session.You have to explore it for things you are looking for like cookie based mechanisms or sometime like that.If it does not provide what you expect. Then you could write a webserver using rtcs socket interface. The rest relies on how you implement your webserver. rtcs sockets provide a good mechanism of connecting your application to internet.