UDP monitor changes

1. added events for database/sphinx write
2. added event for api end with the execution time
3. added the client tag to the api start event
4. reduce packet size by shortening field names
5. initialize the partner id for requests with nocache=1