Merge pull request #2581 from PiBa-NL/23_silence_syncerror
xmlrpc_client.inc, silence the php 'crash' error, sync errors are reported through file-notices already.
Since we moved to stream related function on xmlrpc_client, we should use tcp:// as protocol for http. Fix issue reported at https://forum.pfsense.org/index.php?topic=105890.0
Remove debug leftover
Fix #5329
Since PHP 5.6, fsockopen() is checking SSL certificates, xmlrpc_clientis used only for HA today so it's safe to disable this check.
Since fsockopen() doesn't provide a way to disable it, move code to usestream_socket_client()
Move main pfSense content to src/