Taking a first stab at an rsyslog client

Changes during review:
* Making changes suggested by Daryl
* Added nil value conversion in build_header due to reoccuring errors
* Adding space between priority and version number

Change-Id: If5aaec9e9b4c3a78d31b9f8ea87715330f95caca
Merge "Taking a first stab at an rsyslog client"