[PSR-7] Removes trailing spaces from proposal