Update Route.php

Nicking some http functionality from Laravel, will re-factor to suit later.