updated to 0.2.9 -fixed error handling for socket errors