Merge pull request #2410 from WMeldon/port-fix-remote

Fixed order of parameters passed to `explode` when a remote host defines a custom port.
Not Post and Host, PORT and host T_T