Small fixes

1) Line 73 throws an error:
```
ctx.$url = res.req.url;
```

2) Windows uses '\', not like '/' in Linux