Removed _HAS_EXCEPTIONS define from gainput.h.
Changed NetListener::Stop() to use close() instead of shutdown().