- fixing pid file handling
- mbuffer network mode only if sending to remote host
- test case for network mode
Merge pull request #82 from hadfl/pid_file_fix

some bugfixes