add error handler for socket & bump to 0.1.5