core: added field to link sip msg in onsend structure

- to be used when opening an ongoing stream (tcp/tls) connection
core: option to specify whether the send info has to be set before sending out
tls: execute event_route[tls:connection-out]

- done when a new outgoing tls connection is opened
- ongoing work, to allow an option to drop the connection based on
  config decision
auth_db: auth_check() to get the auth header from the used api

- this avoids using a different auth header that might be in the request
  before checking usernames in from/to headers against auth user
tls: added missed include file for accessing outgoing connection certificate
app_perl: new param perl_destroy_func to specify perl destroy function

- if set, the module will execute the specified perl function before
  re-initializing the interpreter at runtime
app_perl: added documentation for perl_destroy_func parameter
ims_charging: bugfix: Make ims_charging:ccr_timeouts resettable
db_mysql: proper handling of mysql_next_result(...) return code

- it indicates the presence of another result if return is 0
- reported by  Maxim (simax), FS#434
db_mysql: fixes FS#434, Kamailio will eat sometimes 100% CPU due a bug in db_mysql

* Fixes FS#434 reported from Maxim, incorrect mysql API usage for mysql_next_result(..)
* According MySQL doc, return values for mysql_next_result(..) can be the following:
  0 - Successful and there are more results
  -1 - Successful and there are no more results
  >0 - An error occured
* Thus, if there will be an error when reading a next result, the code will be infinitely
  looped in “while” cycle and current process will eat 100% CPU (The mysql_more_results
  will not help here because it just checks a local flag that will be set to TRUE in cases
  when there will be more than one result).
* The solution is to replace " > 0” with " == 0”:
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  db_mysql: proper handling of mysql_next_result(...) return code
  ims_charging: bugfix: Make ims_charging:ccr_timeouts resettable
modules/cdp: new RPC commands to disable/enable a peer dynamically
	- this is useful to disable a particular diameter peer in a cluster
rls: Fix memory leak with duplicate entries in lists

- When duplicate detection is requested, free the string and container
- When duplicate detection is not requested, insert the duplicate anyway
modules/cdp: added RPC cmd to list diameter information, including peers and their detail
pkg/rpm: use pkg memory size when checking config in init script

- for large configs, check can fail due to low memory
modules/ims_charging: possible crash fixed on CCR timeout and some cleanup
	- diameter destination realm correctly setup for routing/load balancing of request to multiple peers
modules/cdp: added loadbalancing across diameter peers within the same realm and with the same metric
pv: safety check for PAI header parsed structure

- reported by Igor Potjevlesch
auth_radius: Improve error message to simplify debugging
Arrghh. Poor memory. My apologies for this commit.

Merge branch 'master' of ssh://git.sip-router.org/sip-router