handle socket errors

pass socket errors to self error handler