Add more fixes from PHP.NET to rfc1867.c (bug #54374)