Add port number to generated absolute URLs

**Step 1:** Host application from a web server running on a specific port (e.g. 127.0.0.1:8888)

**Step 2:** Create a controller, expose its route:

```php
<?php

namespace Acme\HelloBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\JsonResponse;

/**
 * @Route("/hello")
 */
class HelloController
{
    /**
     * @Route("/{name}", name="say_hello")
     */
    public function indexAction(Request $request, $name)
    {
        return new JsonResponse(array('name' => $name));
    }
}
```

**Step 3.** Generate a route to its absolute URL:

```javascript
Routing.generate('say_hello', {'name':'John'}, true);
```

Expected: http://127.0.0.1:8888/app_dev.php/hello/John
Actual: http://127.0.0.1/app_dev.php/hello/John