added the SocketError to the possible exception when accessing the API