mg_set_request_handler() mod to use pattern (Patch from Toni Wilk)

Tested for Windows and Linux
Test in examples/embedded_c extended.