Emit 'request' event when request is made (fix #34)

See #34 for details.