added support for passing a timeout in phpiredis_(p)connect