undefined ejabberd_socket:get_conn_type/1
fix error handling when sql calling with unknown host.
Merge pull request #191 from hamano/added_get_random_pid_error_handling

fix error handling when sql calling with unknown host.
Fix formatting string argument (thanks to Locojay)(github #129)
Fix error reporting in previous commit
SIP support

Conflicts:
	configure
	configure.ac
	doc/guide.tex
Merge pull request #178 from hamano/devel

undefined ejabberd_socket:get_conn_type/1
fix ejabberd_system_monitor:s2s_out_info/1 error
Merge pull request #192 from hamano/fix_ejabberd_system_monitor_error

fix ejabberd_system_monitor:s2s_out_info/1 error
Locate sessions by proxy processes directly
Multiple REGISTER bindings support
Move some code in a separate function
Process gen_server timeouts correctly
Check for 'max_user_sessions' option
Rewrite 'Contact' headers in REGISTER requests
Don't use erlang:integer_to_binary/1
Do not proxy stray responses statelessly (as per RFC 6026)
Optimize request processing
Fix CSeq comparison
Some cleanup