Add errors management to Wired::Socket class