Fix some Windows 8 related issues

This patch fix following issues

1. In method getBasicAuthHeader
    - Windows 8 HTMLAnchorElement which is used to parse input URI return host value followed with port
    - This behavior enforce app to find a Basic Auth which is always an empty string
    - This false Basic Auth Header replace the Authorization Header in options arguments

2. Append missing headers in FileTransfer Download proxy
3. Append missing headers in FileTransfer Upload proxy