Added functionality to process ethernet and unix socket messages.
Merging changes.