Cocker, a socket module with reconnection logic.