Fixing hint errors
Checking for null sockets
travisplexer: pr-346-linux travis ci test