Add ability to define destination application and event via headers, not only via url.

If there are headers "X-Cocaine-Service" and "X-Cocaine-Event" in a request then the proxy determines application and event from these headers.
Otherwise the proxy parses url (format of url: "http://host/app/event[/?]...").