Avoid calls on a nil @socket by replacing with a symbol a la 'Confident Ruby'
Bump version to 1.0.0 to reflect changes to API