Changed socket error handler to handle 'ECONNREFUSED'. In event of ECONNREFUSED the port is available
fixed indentation
fix indent
Merge pull request #21 from jdwilliams15/master

Changed socket error handler to handle 'ECONNREFUSED'. In event of ECONN...