Adds request.resolve() functionality.

In order to improve node module combatibility.