It is not out of the box, but can be implemented programmatically.
AiP/Transport/Socket should be extended to handle this.
anyway, I wouldn’t suggest this kind of setup. AiP was never intended as an internet-facing daemon.
You should terminate external connections via nginx, mongrel2 or any other front-server and use AiP strictly for application logic.
--
Alexey Zakhlestin
CTO at Grids.by/you
https://github.com/indeyets
PGP key:
http://indeyets.ru/alexey.zakhlestin.pgp.asc