Added socket monitor support
Merge pull request #7 from rodgert/master

Added socket monitor support