glue: don't assume this._handle exists in listen2

When wrapping the callback to a listener for a forked process, only wrap
the onconnection callback when the handle it should be attached to is
present. When the listen call fails, there will be no handle, which will
cause the wrapping code to throw in an unexpected way. Fixes #2.