added support for attaching an ipython console to uwsgi